<div class="blade-content __medium-wide" id="blade-content">
  <div class="blade-static">
    <div class="form-group rl">
      <div class="" [formGroup]="myForm">
        <select class="tag-list-select" id="tag-list-select" formControlName="tagCode" name="tagCode">
          <option value="2">
            测点名称
          </option>
          <option value="1">
            测点编码
          </option>
        </select>
        <input class="tag-list-text" placeholder="查询测点名称或编码" type="text" formControlName="tagName" name="tagName">
        <span class="al" (click)="onMore()">更多
          <i [ngClass]="{fa:true,'fa-angle-down':!onMoreShow,'fa-angle-up':onMoreShow}"></i>

        </span>

      </div>
      <div class="tag-filter " [hidden]="!onMoreShow">
        <header class="tag-filter-header">测点查询</header>
        <section class="tag-filter-main">
          <section>
            <header tag-filter-sub>所属结构</header>
            <section class="tag-filter-sub">
              <span *ngFor="let item of tagFilter.turbineComponent;let i=index" [title]="item?.turbComponentName" [ngClass]="{checked:item?.isChecked}" (click)="onClick(item)">
                {{item?.turbComponentName}}
              </span>
            </section>
          </section>
          <section>
            <header>是否显示</header>
            <section class="tag-filter-sub">
              <span *ngFor="let item of tagFilter.tagSets;let i=index" [ngClass]="{checked:item.isChecked}" (click)="onClick(item)">
                {{item?.valueDisplay}}
              </span>
            </section>
          </section>
          <section>
           <!--  <header class="tgDefinition">
              <label>计算点 :
                <input type="checkbox" name="isTagDefinition" [(ngModel)]="tagFilter.isTagDefinition">
              </label>
              <label>非计算点 :
                <input type="checkbox" name="isTagDefinition" [(ngModel)]="tagFilter.directPurchase">
              </label>
            </header> -->

            <button class="btn" (click)="onSave()">确认</button>
          </section>
        </section>
        <b (click)="onClose()"></b>
      </div>
    </div>
  </div>
  <div class="blade-content __medium-wide">
    <div class="blade-inner" style="padding:0">
      <div class="table-content">
        <div class="note" *ngIf="showMes">没有找到该信息</div>
        <div class="table" *ngIf="!showMes">
          <!--<p-dataTable [value]="filterTags" selectionMode="single" (onRowSelect)="onRowSelect($event)" [(selection)]="currentEntity" [rows]="10" [paginator]="true" [totalRecords]="filterTags?.length" >-->
            <!--<p-column field="isChecked" header=" ">-->
              <!--<ng-template  let-data="rowData" let-i="rowIndex" pTemplate="body">-->
                <!--<label style="width: 2.25em" class="form-control __checkbox">-->
                  <!--<input type="checkbox" name="itemCheck" (click)="onItemCheack($event.target,data)" >-->
                  <!--<span class="check"></span>-->
                  <!--{{rowData}}-->
                <!--</label>-->
              <!--</ng-template>-->
            <!--</p-column>-->
            <!--<p-column field="tagName" header="测点名称"></p-column>-->
            <!--<p-column field="tagDesc" header="测点描述"></p-column>-->
            <!--<p-column field="tagCode" header="测点编码"></p-column>-->
          <!--</p-dataTable>-->
        </div>

        <!-- <table class="table" *ngIf="!showMes">
          <thead>
            <tr>
              <th class="table-col">
                <label class="form-control __checkbox">
                  <input (click)="onAllCheack($event.target)" #allCheckRef name="allCheck" id="allCheck" type="checkbox">
                  <span class="check"></span>
                </label>
              </th>
              <th class="table-col">

                <font>
                  <font>测点名称</font>
                </font>
              </th>
              <th class="table-col">
                <font>
                  <font>测点描述</font>
                </font>
              </th>
              <th class="table-col">
                <font>
                  <font>测点编码</font>
                </font>
              </th>
            </tr>
          </thead>
          <tbody>
            <tr class="table-item __selected" *ngFor="let item of filterTags let i =index " [ngClass]="{'__selected': currentEntity?.tagId == item.tagId}">
              <td class="table-col __product-control">
                <label class="form-control __checkbox">
                  <input type="checkbox" name="itemCheck" (click)="onItemCheack($event.target,item)" [checked]="allCheckRef.checked">
                  <span class="check"></span>
                </label>
              </td>
              <td class="table-col __product-name" (click)="onSeletedChange(item)">
                <span class="table">{{item.tagName}}</span>

              </td>
              <td class="table-col __product-name" (click)="onSeletedChange(item)">

                <span class="table">{{item.tagDesc}}</span>
              </td>
              <td class="table-col __product-name" (click)="onSeletedChange(item)">
                <span class="table">{{item.tagCode}}</span>
              </td>
            </tr>

          </tbody>
        </table> -->
      </div>
    </div>
  </div>
</div>
